package cn.maihe.elg.operation.repository.entity;

import cn.maihe.framework.starter.mybatis.mapper.Fn;
import cn.maihe.framework.starter.mybatis.mapper.PlusEntityWrapper;

public final class CustomerAttachmentDOCondition {
    private PlusEntityWrapper<CustomerAttachmentDO> ew;

    public CustomerAttachmentDOCondition() {
        this.ew = new PlusEntityWrapper(CustomerAttachmentDO.class);
    }

    public static CustomerAttachmentDOCondition builder() {
        return new CustomerAttachmentDOCondition();
    }

    public PlusEntityWrapper<CustomerAttachmentDO> build() {
        return this.ew;
    }

    public CustomerAttachmentDOCondition or() {
        this.ew.orNew();
        return this;
    }

    public CustomerAttachmentDOCondition and() {
        this.ew.andNew();
        return this;
    }

    private boolean isAndOr() {
        return ew.originalSql() == null || "".equals(ew.originalSql()) ? true : ew.originalSql().endsWith("AND ()") || ew.originalSql().endsWith("OR ()");
    }

    public void clear() {
        this.ew = null;
        this.ew = new PlusEntityWrapper(CustomerAttachmentDO.class);
    }

    public CustomerAttachmentDOCondition setSqlSelect(String sqlStr) {
        ew.setSqlSelect(sqlStr);
        return this;
    }

    public CustomerAttachmentDOCondition orderAsc(String column) {
        ew.orderBy(true, column, true);
        return this;
    }

    public CustomerAttachmentDOCondition orderDesc(String column) {
        ew.orderBy(true, column, false);
        return this;
    }

    public CustomerAttachmentDOCondition groupBy(String column) {
        ew.groupBy(column);
        return this;
    }

    public <E, R> CustomerAttachmentDOCondition orderAsc(Fn<E, R> fn) {
        ew.orderAsc(fn);
        return this;
    }

    public <E, R> CustomerAttachmentDOCondition orderDesc(Fn<E, R> fn) {
        ew.orderDesc(fn);
        return this;
    }

    public <E, R> CustomerAttachmentDOCondition groupBy(Fn<E, R> fn) {
        ew.groupBy(fn);
        return this;
    }

    public CustomerAttachmentDOCondition exists(String sqlStr) {
        ew.exists(sqlStr);
        return this;
    }

    public CustomerAttachmentDOCondition notExists(String sqlStr) {
        ew.notExists(sqlStr);
        return this;
    }

    public CustomerAttachmentDOCondition having(String sqlStr, Object... params) {
        ew.having(sqlStr, params);
        return this;
    }

    public CustomerAttachmentDOCondition andIdIsNull() {
        ew.isNull("id");
        return this;
    }

    public CustomerAttachmentDOCondition orIdIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("id");
        return this;
    }

    public CustomerAttachmentDOCondition andIdIsNotNull() {
        ew.isNotNull("id");
        return this;
    }

    public CustomerAttachmentDOCondition orIdIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("id");
        return this;
    }

    public CustomerAttachmentDOCondition andIdEq(Object value) {
        ew.eq("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andIdNe(Object value) {
        ew.ne("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andIdGt(Object value) {
        ew.gt("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andIdGe(Object value) {
        ew.ge("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andIdLt(Object value) {
        ew.lt("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andIdLe(Object value) {
        ew.le("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andIdIn(Object... value) {
        ew.in("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andIdNotIn(Object... value) {
        ew.notIn("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andIdBetween(Object value, Object value1) {
        ew.between("id", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orIdBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("id", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andIdNotBetween(Object value, Object value1) {
        ew.notBetween("id", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orIdNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("id", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andIdLike(String value) {
        ew.like("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andIdNotLike(String value) {
        ew.notLike("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orIdNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdIsNull() {
        ew.isNull("bidder_id");
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("bidder_id");
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdIsNotNull() {
        ew.isNotNull("bidder_id");
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("bidder_id");
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdEq(Object value) {
        ew.eq("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdNe(Object value) {
        ew.ne("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdGt(Object value) {
        ew.gt("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdGe(Object value) {
        ew.ge("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdLt(Object value) {
        ew.lt("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdLe(Object value) {
        ew.le("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdIn(Object... value) {
        ew.in("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdNotIn(Object... value) {
        ew.notIn("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdBetween(Object value, Object value1) {
        ew.between("bidder_id", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("bidder_id", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdNotBetween(Object value, Object value1) {
        ew.notBetween("bidder_id", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("bidder_id", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdLike(String value) {
        ew.like("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andBidderIdNotLike(String value) {
        ew.notLike("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition orBidderIdNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("bidder_id", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeIsNull() {
        ew.isNull("attach_type");
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("attach_type");
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeIsNotNull() {
        ew.isNotNull("attach_type");
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("attach_type");
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeEq(Object value) {
        ew.eq("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeNe(Object value) {
        ew.ne("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeGt(Object value) {
        ew.gt("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeGe(Object value) {
        ew.ge("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeLt(Object value) {
        ew.lt("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeLe(Object value) {
        ew.le("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeIn(Object... value) {
        ew.in("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeNotIn(Object... value) {
        ew.notIn("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeBetween(Object value, Object value1) {
        ew.between("attach_type", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("attach_type", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeNotBetween(Object value, Object value1) {
        ew.notBetween("attach_type", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("attach_type", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeLike(String value) {
        ew.like("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachTypeNotLike(String value) {
        ew.notLike("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachTypeNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("attach_type", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathIsNull() {
        ew.isNull("attach_path");
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("attach_path");
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathIsNotNull() {
        ew.isNotNull("attach_path");
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("attach_path");
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathEq(Object value) {
        ew.eq("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathNe(Object value) {
        ew.ne("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathGt(Object value) {
        ew.gt("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathGe(Object value) {
        ew.ge("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathLt(Object value) {
        ew.lt("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathLe(Object value) {
        ew.le("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathIn(Object... value) {
        ew.in("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathNotIn(Object... value) {
        ew.notIn("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathBetween(Object value, Object value1) {
        ew.between("attach_path", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("attach_path", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathNotBetween(Object value, Object value1) {
        ew.notBetween("attach_path", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("attach_path", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathLike(String value) {
        ew.like("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachPathNotLike(String value) {
        ew.notLike("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachPathNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("attach_path", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameIsNull() {
        ew.isNull("attach_file_name");
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("attach_file_name");
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameIsNotNull() {
        ew.isNotNull("attach_file_name");
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("attach_file_name");
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameEq(Object value) {
        ew.eq("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameNe(Object value) {
        ew.ne("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameGt(Object value) {
        ew.gt("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameGe(Object value) {
        ew.ge("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameLt(Object value) {
        ew.lt("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameLe(Object value) {
        ew.le("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameIn(Object... value) {
        ew.in("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameNotIn(Object... value) {
        ew.notIn("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameBetween(Object value, Object value1) {
        ew.between("attach_file_name", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("attach_file_name", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameNotBetween(Object value, Object value1) {
        ew.notBetween("attach_file_name", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("attach_file_name", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameLike(String value) {
        ew.like("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andAttachFileNameNotLike(String value) {
        ew.notLike("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition orAttachFileNameNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("attach_file_name", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateIsNull() {
        ew.isNull("gmt_create");
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("gmt_create");
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateIsNotNull() {
        ew.isNotNull("gmt_create");
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("gmt_create");
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateEq(Object value) {
        ew.eq("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateNe(Object value) {
        ew.ne("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateGt(Object value) {
        ew.gt("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateGe(Object value) {
        ew.ge("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateLt(Object value) {
        ew.lt("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateLe(Object value) {
        ew.le("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateIn(Object... value) {
        ew.in("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateNotIn(Object... value) {
        ew.notIn("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateBetween(Object value, Object value1) {
        ew.between("gmt_create", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("gmt_create", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateNotBetween(Object value, Object value1) {
        ew.notBetween("gmt_create", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("gmt_create", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateLike(String value) {
        ew.like("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtCreateNotLike(String value) {
        ew.notLike("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtCreateNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("gmt_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedIsNull() {
        ew.isNull("gmt_modified");
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("gmt_modified");
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedIsNotNull() {
        ew.isNotNull("gmt_modified");
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("gmt_modified");
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedEq(Object value) {
        ew.eq("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedNe(Object value) {
        ew.ne("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedGt(Object value) {
        ew.gt("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedGe(Object value) {
        ew.ge("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedLt(Object value) {
        ew.lt("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedLe(Object value) {
        ew.le("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedIn(Object... value) {
        ew.in("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedNotIn(Object... value) {
        ew.notIn("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedBetween(Object value, Object value1) {
        ew.between("gmt_modified", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("gmt_modified", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedNotBetween(Object value, Object value1) {
        ew.notBetween("gmt_modified", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("gmt_modified", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedLike(String value) {
        ew.like("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andGmtModifiedNotLike(String value) {
        ew.notLike("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orGmtModifiedNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("gmt_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateIsNull() {
        ew.isNull("user_create");
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("user_create");
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateIsNotNull() {
        ew.isNotNull("user_create");
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("user_create");
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateEq(Object value) {
        ew.eq("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateNe(Object value) {
        ew.ne("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateGt(Object value) {
        ew.gt("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateGe(Object value) {
        ew.ge("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateLt(Object value) {
        ew.lt("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateLe(Object value) {
        ew.le("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateIn(Object... value) {
        ew.in("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateNotIn(Object... value) {
        ew.notIn("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateBetween(Object value, Object value1) {
        ew.between("user_create", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("user_create", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateNotBetween(Object value, Object value1) {
        ew.notBetween("user_create", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("user_create", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateLike(String value) {
        ew.like("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserCreateNotLike(String value) {
        ew.notLike("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserCreateNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("user_create", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedIsNull() {
        ew.isNull("user_modified");
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("user_modified");
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedIsNotNull() {
        ew.isNotNull("user_modified");
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("user_modified");
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedEq(Object value) {
        ew.eq("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedNe(Object value) {
        ew.ne("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedGt(Object value) {
        ew.gt("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedGe(Object value) {
        ew.ge("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedLt(Object value) {
        ew.lt("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedLe(Object value) {
        ew.le("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedIn(Object... value) {
        ew.in("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedNotIn(Object... value) {
        ew.notIn("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedBetween(Object value, Object value1) {
        ew.between("user_modified", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("user_modified", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedNotBetween(Object value, Object value1) {
        ew.notBetween("user_modified", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("user_modified", value, value1);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedLike(String value) {
        ew.like("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition andUserModifiedNotLike(String value) {
        ew.notLike("user_modified", value);
        return this;
    }

    public CustomerAttachmentDOCondition orUserModifiedNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("user_modified", value);
        return this;
    }
}